package com.glory.good_dark.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: MaterielFoolProofingEntity
 * Author: XJH
 * Date: 2020/5/18 14:12
 * Description:
 * History:
 */
public class MaterielFoolProofingEntity implements Serializable {

    private String EQP_ID;

    private List<MtmMatList> MTM_MAT_LIST;

    public String getEQP_ID() {
        return EQP_ID == null ? "" : EQP_ID;
    }

    public void setEQP_ID(String EQP_ID) {
        this.EQP_ID = EQP_ID;
    }

    public List<MtmMatList> getMTM_MAT_LIST() {
        if (MTM_MAT_LIST == null) {
            return new ArrayList<>();
        }
        return MTM_MAT_LIST;
    }

    public void setMTM_MAT_LIST(List<MtmMatList> MTM_MAT_LIST) {
        this.MTM_MAT_LIST = MTM_MAT_LIST;
    }

    public class MtmMatList implements Serializable{
        private String RUN_ID;//作业ID
        private String EQP_ID;//设备编码
        private String DESCRIPTION;
        private String MATERIAL_ID;//物料实物扫描所得编码【物料条码】料号
        private String MAT_NO;
        private String SUB_TYPE;
        private String SPECS;
        private String MATERIAL_TYPE;
        private String MATERIAL_NAME;
        private String ONEQP_TIME;
        private String OFFEQP_TIME;
        private String EXPIRATION_TIME;

        public String getRUN_ID() {
            return RUN_ID == null ? "" : RUN_ID;
        }

        public void setRUN_ID(String RUN_ID) {
            this.RUN_ID = RUN_ID;
        }

        public String getEQP_ID() {
            return EQP_ID == null ? "" : EQP_ID;
        }

        public void setEQP_ID(String EQP_ID) {
            this.EQP_ID = EQP_ID;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }

        public String getMATERIAL_ID() {
            return MATERIAL_ID == null ? "" : MATERIAL_ID;
        }

        public void setMATERIAL_ID(String MATERIAL_ID) {
            this.MATERIAL_ID = MATERIAL_ID;
        }

        public String getMAT_NO() {
            return MAT_NO == null ? "" : MAT_NO;
        }

        public void setMAT_NO(String MAT_NO) {
            this.MAT_NO = MAT_NO;
        }

        public String getSUB_TYPE() {
            return SUB_TYPE == null ? "" : SUB_TYPE;
        }

        public void setSUB_TYPE(String SUB_TYPE) {
            this.SUB_TYPE = SUB_TYPE;
        }

        public String getSPECS() {
            return SPECS == null ? "" : SPECS;
        }

        public void setSPECS(String SPECS) {
            this.SPECS = SPECS;
        }

        public String getMATERIAL_TYPE() {
            return MATERIAL_TYPE == null ? "" : MATERIAL_TYPE;
        }

        public void setMATERIAL_TYPE(String MATERIAL_TYPE) {
            this.MATERIAL_TYPE = MATERIAL_TYPE;
        }

        public String getMATERIAL_NAME() {
            return MATERIAL_NAME == null ? "" : MATERIAL_NAME;
        }

        public void setMATERIAL_NAME(String MATERIAL_NAME) {
            this.MATERIAL_NAME = MATERIAL_NAME;
        }

        public String getONEQP_TIME() {
            return ONEQP_TIME == null ? "" : ONEQP_TIME;
        }

        public void setONEQP_TIME(String ONEQP_TIME) {
            this.ONEQP_TIME = ONEQP_TIME;
        }

        public String getOFFEQP_TIME() {
            return OFFEQP_TIME == null ? "" : OFFEQP_TIME;
        }

        public void setOFFEQP_TIME(String OFFEQP_TIME) {
            this.OFFEQP_TIME = OFFEQP_TIME;
        }

        public String getEXPIRATION_TIME() {
            return EXPIRATION_TIME == null ? "" : EXPIRATION_TIME;
        }

        public void setEXPIRATION_TIME(String EXPIRATION_TIME) {
            this.EXPIRATION_TIME = EXPIRATION_TIME;
        }
    }
}
